package cn.bingo.yunsj.quartz;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@Configurable
@EnableScheduling
public class ScheduledTasks {

    //每1分钟执行一次
    @Scheduled(cron = "*/5 * * * * ? ")
    public void stationOfflineWarn() {
        //检查站点是否离线
    }
}
